package com.xpffly.design.template;

/**
 * @Author: xpengfei
 * @Date: 2021/3/28 13:33
 * @Description：悍马车 H2 模型。不鸣笛
 */
public class HummerH2Model extends HummerTemplate {
    @Override
    protected void start() {
        System.out.println("悍马 H2 启动...");
    }

    @Override
    protected void stop() {
        System.out.println("悍马 H2 停止...");
    }

    @Override
    protected void alarm() {
        System.out.println("悍马 H2 鸣笛...");
    }

    @Override
    protected void engineBoom() {
        System.out.println("悍马 H2 引擎声音...");
    }

    @Override
    protected boolean isAlarm() {
        return false;
    }
}
